package com.qf.dao.caiwu_dao;

import com.qf.bean.ClientName;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;

import java.util.List;

public interface ClientNameMapper {
    int deleteByPrimaryKey(Integer nid);

    int insert(ClientName record);

    int insertSelective(ClientName record);

    ClientName selectByPrimaryKey(Integer nid);

    int updateByPrimaryKeySelective(ClientName record);

    int updateByPrimaryKey(ClientName record);

    @Select("select * from client_name where tid=#{tid}")
    List<ClientName> selectAll(@Param("tid") Integer tid);

}